package
{
	import flash.events.Event;
	
	import generated.webservices.MObject;

	public class MObjectEvent extends Event
	{
		public static const OPEN_OBJECT_DETAILS: String = "openObjectDetails";
		public static const DELETE_OBJECT: String = "deleteObject";
		public static const OBJECT_CHANGED: String = "changeObject";
		
		public function MObjectEvent(type: String, mObject: MObject)
		{
			super(type);
			_mObject = mObject;	
		}
		
		public function get mObject() : MObject {
			return _mObject;
		}
		
		private var _mObject: MObject;
	}
}